Power monitoring and control system and method

ABSTRACT

A system includes first and second controllers coupled together with a communication channel. The first controller provides a first signal to the second controller and the second controller provides a second signal to the first controller in response. The second signal includes information about an electrical load. At least one of the first and second controllers can be integrated with an electrical outlet.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates generally to power regulation and, more particularly, to monitoring and controlling the operation of electrical devices.

2. Description of the Related Art

Energy monitoring and control systems are widely used to provide centralized monitoring and control of the loads in electrical systems. In buildings, the loads typically include a number of devices and sub-systems, the most prominent of which from an energy consumption standpoint include the heating, cooling, and lighting systems. Energy monitoring and control systems are rapidly becoming a desired element of the electrical system in small facilities, such as homes, and in large facilities, such as factories, hotels, offices, schools, hospitals, and public buildings. One reason is because there is an ongoing emphasis on energy conservation and a demand for increased effectiveness and reduced cycle time in finding and correcting load problems. There is also an emphasis on decreasing utility costs by using electrical devices less and by eliminating inefficient devices and replacing them with more efficient ones.

However, as of yet there is not a satisfactory way of accurate knowing the electrical power used by various household appliances so that inefficient uses of energy can be eliminated. Since budget planning depends on the amount of energy used during different periods such as the time of day, day of week, or season of the year, it is advantageous to know how much energy is used during various time periods and which particular devices use the most energy. While it is possible to obtain a monthly, daily, or weekly total for aggregate home energy use by reading the outside utility meter, such a practice is awkward and cumbersome. Furthermore, the only information that can be obtained from most utility meters is the total energy used. It generally cannot be determined which particular devices contribute the most to the total amount of energy used within any given time frame.

Another emphasis has been on controlling the operation of electrical devices to better control the amount of energy they use. In the past, systems have been available for automatically controlling certain household appliances from a central location. These systems typically use a power line modem, which is a transmitter/receiver capable of operating over conventional AC 120/240 volt wiring. Examples of these types of systems are shown in U.S. Pat. No. 4,174,517 to Mandell and U.S. Pat. No. 4,418,333 to Schwarzbach. In both of these systems, a control unit can be programmed to initiate certain functions within various appliances depending upon the time of day. For example, lights can be programmed to automatically turn on at dark and a coffee maker can be programmed to automatically turn on at a given hour in the morning. However, neither Schwarzbach nor Mandell provides any way for monitoring energy usage of the various appliances or devices connected to either system. Accordingly, there is a need for a better power monitoring and control system.

BRIEF SUMMARY OF THE INVENTION

The present invention provides a system which includes first and second controllers in communication with each other. The first controller provides a first signal to the second controller and the second controller provides a second signal to the first controller in response. The second signal includes information about an electrical load.

The present invention also provides a system which includes first and second controllers coupled to first and second electrical outlets, respectively. A terminal device flows a control signal to the first controller through the first electrical outlet. A communication channel is coupled between the first and second controllers. An electrical load is coupled to the second electrical outlet. The first controller provides a first signal to the second controller and the second controller provides a second signal to the first controller in response. The second signal includes information about the operation of the electrical device.

The present invention further provides a method which includes steps of receiving a time varying waveform; determining a predetermined property of the time varying waveform during a predetermined time period; and assigning a symbol from a set of data symbols to the time varying waveform.

These and other features, aspects, and advantages of the present invention will become better understood with reference to the following drawings, description, and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram of one embodiment of a power monitoring and control apparatus in accordance with the present invention;

FIG. 2 is a simplified block diagram of another embodiment of the power monitoring and control apparatus of FIG. 1;

FIGS. 3A and 3B are simplified block diagrams of embodiments of a power monitoring and control apparatus;

FIGS. 4A and 4B are simplified block diagrams of other embodiments of a power monitoring and control apparatus;

FIGS. 5A and 5B are simplified perspective views of electrical outlets, in accordance with the present invention, included in the power monitoring and control apparatus of FIGS. 4A and 4B;

FIG. 6 is a simplified block diagram of one embodiment of the primary controller included in the power monitoring and control apparatus of FIGS. 4A and 4B;

FIG. 7 is a simplified block diagram of one embodiment of the secondary controller included in the power monitoring and control apparatus of FIGS. 4A and 4B;

FIG. 8 is a top view of one embodiment of a digital signal processor included in the primary and secondary controllers of FIGS. 6 and 7;

FIG. 9 is a simplified top view of one embodiment of an isolation circuit included in the primary and secondary controllers of FIGS. 6 and 7;

FIGS. 10A-10O are simplified graphs of the various signals shown in the primary and secondary controllers of FIGS. 6 and 7;

FIG. 11 is a simplified block diagram of one embodiment of a method of controlling the power using a power monitoring and control apparatus in accordance with the present invention;

FIGS. 12A-12C are simplified block diagrams of a method of encoding a symbol in accordance with the present invention; and

FIGS. 12D-12F are simplified block diagrams of a method of decoding a symbol in accordance with the present invention.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 1 is a simplified block diagram of a power monitoring and control system 10 in accordance with the present invention. It should be noted that like reference characters are used throughout the several views. System 10 is used to monitor and/or control the operation of one or more electrical devices. This is desirable because, for many different reasons, the operation of an electrical device is expensive. One reason the operation is expensive is because electrical power is expensive and the general trend is for it to increase in cost. Another reason the operation is expensive is because the electrical device has a certain lifetime after which it fails and needs to be replaced. The lifetime tends to decrease the more the electrical device is used so in some instances it is desirable to turn it off when not needed so its lifetime will not decrease as rapidly.

In this embodiment, the performance and/or efficiency of the electrical device is monitored by system 10, which is desirable because the performance typically changes with time as the device's lifetime decreases. Hence, by monitoring the electrical device's performance and/or efficiency, it can be determined whether or not it is approaching the end of its useful lifetime. This can be done because electrical devices are generally manufactured to operate within a particular range of power consumption, voltage, current, and temperature. When the electrical device is operating outside one or more of these ranges, then this is often an indication that the electrical device is reaching the end of its useful lifetime and is about to fail. Further, newer and more efficient electrical devices are typically being developed so system 10 can be used to determine whether it is more cost effective to replace an old electrical device with a newer and more efficient one.

System 10 is useful in many different settings. For example, it can be used at home, in an office, or another setting to monitor and control the operation of electrical devices typically used in these places. The electrical device can be any type of electrical load, such as an appliance, television, computer, air conditioner, lamp, hair drier, refrigerator, etc. which are generally powered by an electrical outlet. The electrical device can also include wireless sensors, such as a motion sensor, smoke detector, temperature sensor, air pressure/quality sensor, and a switch sensor.

In one particular example, system 10 is used to monitor and control the electrical devices in the rooms of a hotel. If the room is currently unoccupied, then system 10 can turn one or more of the electrical devices in this room off to reduce operating costs. If the room is going to be occupied, then one or more of the electrical devices in the room can be provided with power by system 10 so they can be used by the occupants. If the room is currently being occupied, then system 10 can monitor and/or control the operation of the devices.

In another example, system 10 is used to determine the amount of power consumed over a particular period of time by the electrical devices in an office, home, or another building. This is desirable because sometimes there are two rates for electrical power, a low rate and a high rate. In some instances, the low rate is paid when the total power usage is below a predetermined threshold power value and the high rate is paid when the total power usage is above the predetermined threshold power value. Since it is desirable for the consumer to pay the lower rate, system 10 can be used to determine the total power usage so it can be compared to the predetermined threshold power value. In this way, the consumer will know how much power they can use before they go above the threshold power value and have to pay the higher rate.

In this embodiment, system 10 includes a primary controller 12 in communication with a secondary controller 17 through a communication channel 13. Secondary controller 17 is in communication with an electrical device 16 through a communication channel 15. Communication channels 13 and 15 can be of many different types. In this example, they include conductive lines, such as AC 120 volt wiring, which is typically used in building construction to flow signals therethrough. In other examples, however, channels 13 and 15 can be of other types which power and/or control signals can flow. For example, they can be optical fibers, wireless links, etc., or combinations thereof. In one example, power signals can go through the electrical wires in channel 13 and control and monitoring signals can be sent through a wireless channel in channel 13.

One advantage of system 10 is that primary controller 12 can be positioned at one location and secondary controller 17 can be positioned at another location. For example, the locations can be at different positions in the same room or in different rooms in the same building. In other examples, the locations can even be in different buildings. In this way, system 10 can provide remote monitoring and/or controlling of device 16.

In operation, channel 13 flows a power signal S_(Power) and a signal S₁ between controllers 12 and 17 and channel 15 flows S_(Power) to electrical device 16. Signal S_(Power) provides power to controllers 12 and 17 and electrical device 16 and signal S₁ typically includes control and monitoring signals. The control signal in S₁ allows controllers 12 and 17 to control the operation of electrical device 16 and the monitoring signal in S₁ provides information to controllers 12 and 17 about the operation of device 16. The information can be, for example, about the performance and efficiency of electrical device 16. Power signal S_(Power) is typically a 120 V AC signal with a 60 Hertz (Hz) frequency, which is the United States standard. However, it should be noted that S_(Power) can have different parameters which generally depend on the application and the country or location at which the power is provided. For example, many countries in Europe use 230 V at 50 Hz and Japan uses 100 V at 50 Hz or 60 Hz. Further, in the U.S. some heavy appliances use 240 volts at 60 Hz.

In this embodiment, controllers 12 and 17 include both analog and digital circuitry (not shown). The circuitry is coupled to channel 13 and separates signal S₁ from S_(Power) so that S_(Power) does not damage the circuitry and so S₁ can be processed. After it is processed, signal S₁, with the same of different information, is then provided back to channel 13 and flowed to controller 12. In this way, control and monitoring signals are flowed between controllers 12 and 17 to control and monitor the operation of electrical device 16.

In one example of operation, controller 12 sends signal S₁ to controller 17 through channel 13. In response to this signal, controller 17 performs one or more tasks. In one task, controller 17 turns electrical device 16 on and/or off as desired. In some examples, controller 17 can do this by activating or deactivating a switch (not shown) coupled to electrical device 16. In another task, controller 17 determines the performance parameters of electrical device 16. The performance parameters can include, among others, the temperature of operation, power consumption, power consumption as a function of time, voltage, current, power factor and/or frequency of operation of electrical device 16. Parameters, such as the power factor and power consumption are typically determined by secondary controller 17 using the current and voltage of device 16, but in other examples, they can be determined by primary controller 12. An advantage of having secondary controller 17 determine these parameters is that they will be more up-to-date in case electrical device 16 fails and can provide a better indication of the operation of device 16 before it failed. Having more up-to-date information is useful for troubleshooting device 16 to determine its cause of failure.

FIG. 2 is a simplified block diagram of a power monitoring and control system 11 in accordance with the present invention. System 11 is similar to system 10 discussed above. One difference, however, is that it includes a terminal device 18 in communication with primary controller 12 through a communication channel 14. Communication channel 14 can be the same or similar to communication channels 13 and 15 discussed above. Terminal device 18 can be of many different types. For example, it can be a laptop computer, desktop computer, Pocket PC, Personal Digital Assistant (PDA), etc. and communication channel 14 can be a data cable, such as a phone cord, an Ethernet cable, a Universal Serial Bus (USB), or an RS-232 serial cable. In some examples, channel 14 can even be a wireless link so that device 18 and controller 12 communicate with each other wirelessly.

In operation, terminal device 18 sends a control signal S_(Control) to primary controller 12 through communication channel 14. Signal S_(Control) indicates to controller 12 what information (temperature, frequency, power, current, voltage, etc.) it wants about electrical device 16. Signal S_(Control) can also indicate to controller 12 if it is desired to turn device 16 on or off. In response, primary controller 12 sends signal S₁ to secondary controller 17. In response to signal S₁, secondary controller 17 controls and/or monitors device 16, as discussed above with FIG. 1. In some instances, controller 17 sends information about device 16 back to controller 12 through channel 13. Controller 12 then provides this information to terminal device 18 through channel 14. One advantage of this embodiment is that terminal device 18 can run a software program to easily send and retrieve information and commands to controllers 12 and 17. Terminal device 18 also displays the information in a convenient manner for the user. In this way, terminal device 18 provides the user an interface with controllers 12 and 17. As mentioned above, controllers 12 and 17 can determine some of the performance parameters of device 16, but in this embodiment, these parameters can be determined by terminal device 18.

FIGS. 3A and 3B are simplified block diagrams of power monitoring and control systems 20 and 21, respectively, in accordance with the present invention. In this embodiment, system 20 is similar to systems 10 and 11 described above. One difference, however, is that it includes an outlet 22 between terminal device 18 and primary controller 12 and an outlet 24 between secondary controller 17 and electrical device 16. Terminal device 18 is in communication with outlet 22 through a communication channel 30 and primary controller 12 is in communication with outlet 22 through a communication channel 31. Secondary controller 17 is in communication with outlet 24 through a communication channel 33 and electrical device 16 is in communication with outlet 24 through a communication channel 34. Further, primary and secondary controllers 12 and 17 are in communication with each other through a communication channel 32.

In this embodiment, system 21 is similar to system 20 except that primary controller 12 is in communication with terminal device 18 through communication channel 30 and to outlet 22 through communication channel 31. Outlet 22 is in communication with secondary controller 17 through communication channel 32. Secondary controller 17 is in communication with outlet 24 through communication channel 33 and outlet 24 is in communication with electrical device 16 through communication channel 34.

It should be noted that communication channels 30-34 can be the same or similar to channels 13-15 discussed above in conjunction with FIGS. 1-2. In this embodiment, however, communication channel 34 is preferably a power cord known in the art which flows S_(Power) between outlet 24 and electrical device 16. Further, communication channels 32-33 are preferably conductive lines typically used in electrical wiring for building construction. Further, in system 20, channel 30 is preferably a data cable which can be received by terminal device 18 and outlet 22 and channel 31 is preferably electrical wiring used in building construction. Similarly, in system 21, channel 30 is preferably a data cable which can be received by terminal device 18 and controller 17 and channel 31 is preferably a data cable which can be received by primary controller 12 and outlet 22. The operation of systems 20 and 21 are the same or similar to the operation of systems 10 and 11 discussed above in conjunction with FIGS. 1 and 2. In this embodiment, primary controller 12 is separate from outlet 22 and secondary controller 17 is separate from outlet 24. In other embodiments, however, primary controller 12 can be integrated with outlet 22 and/or secondary controller 17 can be integrated with outlet 24, as will be discussed in more detail presently.

FIGS. 4 a and 4 b are simplified block diagrams of power monitoring and control systems 40 and 41, respectively, in accordance with the present invention. In this embodiment, systems 40 and 41 are similar in structure and operation to systems 10, 11, 20, and 21 described above. One difference, however, is that the primary and/or secondary controllers are integrated with corresponding electrical outlets. One advantage of this is that systems 40 and 41 are more compact.

In FIG. 4 a, terminal device 18 is in communication with primary controller 12 through conductive lines 30 a and 30 b and primary controller 12 is in communication with outlet 22 through conductive lines 31 a and 31 b. Outlet 22 is in communication with an outlet 25 through conductive lines 32 a and 32 b and outlet 25 is in communication with electrical device 16 through conductive lines 34 a and 34 b. In this embodiment, outlet 25 includes secondary controller 17 in communication with conductive lines 32 a and 32 b through conductive lines 32 c and 32 d, respectively. A switch 27 has an input connected to conductive line 32 b and an output connected to a conductive line 33 a. A conductive line 33 b is connected between a control terminal of switch 27 and secondary controller 17 so that secondary controller can control its operation. Conductive lines 32 a and 33 a are connected to separate inputs of a socket 39 and separate outputs of socket 39 are connected to conductive lines 34 a and 34 b.

In accordance with the invention, secondary controller 17 and switch 27 are housed by an outlet housing 26 (See FIG. 5 b). In this way, these components are integrated with outlet 25. In other examples, however controller 17 and/or switch 27 can be positioned outside housing 26. The switch can be of many different types. In this example, the switch is a relay, such as a bi-stable magnetic relay. The relay can flow S_(Power) through socket 39 to electrical device 16 so it is on and interrupt the flow of S_(Power) through socket 39 so it is off. In other examples, the switch can be a transistor or another type of switch known in the art.

In FIG. 4 b, terminal device 18 is in communication with an electrical outlet 28 through conductive lines 30 a and 30 b. Electrical outlet 28 is in communication with electrical outlet 25 through conductive lines 32 a and 32 b. In this embodiment, outlet 28 includes a socket 38 with separate outputs connected to conductive lines 30 a and 30 b. Separate inputs of socket 38 are connected to separate inputs of primary controller 12 through conductive lines 31 a and 31 b. Separate outputs of primary controller 12 are connected to conductive lines 32 a and 32 b. In accordance with the invention, secondary controller 12 is housed by an outlet housing 29 (See FIG. 5 a) included in outlet 28. In this way, this component is integrated with outlet 28.

In system 40, conductive lines 30 a and 30 b are preferably separate conductive wires typically included in an RS-232 cable which is known in the art. The RS-232 cable has a first connector on one end which can be received by a connector receptacle on terminal device 18. The RS-232 cable also has a second connector on its other end which can be received by an input connector receptacle on primary controller 12. Conductive lines 31 a and 31 b are preferably separate conductive wires typically included in a power cord. In this example, the power cord is modified so it has a connector on one end which can be received by an output connector receptacle on primary controller 12 and a connector on its other end which is preferably a plug that can be received by outlet 22.

In system 41, conductive lines 30 a and 30 b are preferably separate conductive wires typically included in an RS-232 cable. In this example, the cable is modified so it has a connector on one end, which can be received by a connector receptacle on terminal device 18, and a connector on its other end, which can be received by a connector receptacle on socket 38. It should be noted that the various connectors and connector receptacles can be of many different types known in the art. For example, they can be those used in phone lines, power cords, RS 232 cables, Ethernet cables, Universal Serial Bus (USB) cables, etc. Further, these connectors and connector receptacles can be provided in many different combinations on opposite ends of the same cable, such as in the modified cable and power cords discussed above.

FIGS. 5A and 5B show simplified perspective views of outlets 28 and 25, respectively, in accordance with the present invention. In FIG. 5A, outlet 28 includes housing 29 which houses controller 12. Socket 38 is held by housing 29 and has slots 38 a and 38 b with separate contacts (not shown) connected to separate terminals of controller 12 through conductive lines 31 a and 31 b (not shown). In this embodiment, signal S_(Control) is provided to controller 12 through a cable 113. Cable 113 includes conductive lines 30 a and 30 b which are connected to a connector 114. Connector 114 is shaped to be received by a connector receptacle 112, which is coupled to controller 12 through conductive lines 31 a and 31 b.

In FIG. 5B, outlet 25 is similar to outlet 28. However, outlet 25 includes housing 26 which houses controller 17 and switch 27 (not shown). Further, outlet 25 does not include connector 112, although in other examples, it could. Instead, a cord 116 includes conductive lines 34 a and 34 b which are connected to housing 111. Cord 116 provides signal S_(Power) to electrical device 16 (not shown). Conductive lines 34 a and 34 b extend through housing 111 where they are connected to prongs 110 a and 110 b, respectively. Prongs 110 a and 110 b can be received by slots 39 a and 39 b of socket 39 so that they connect to terminals (not shown) therein connected to conductive lines 32 a and 33 a (not shown).

FIG. 6 is a simplified block diagram of primary controller 12 included in the power monitoring and control systems of FIGS. 4A and 4B. It should be noted that the primary controllers shown in FIGS. 1-2 and 3A-3B can be the same or similar to the controller shown in FIG. 6. Controller 12 includes an AC line coupling circuit 50 which has separate inputs coupled to lines 32 a and 32 b. An output of circuit 50 is coupled to a filter 52 through a conductive line 80 a and an output of filter 52 is coupled to an input of an isolation circuit 68 through a conductive line 81 a. An output of isolation circuit 68 is coupled to an input of an amplifier circuit 58 through a conductive line 83 a and an output of amplifier circuit 58 is coupled to an input of a sine-to-square wave circuit 62 through a conductive line 84 a. An output of sine-to-square wave circuit 62 is coupled to an input of a signal processor 66.

An output of processor 66 is coupled to an input of a square-to-sine wave circuit 60 through a conductive line 85 b and an output of circuit 60 is coupled to an input of an attenuator circuit 56 through a conductive line 84 b. An output of attenuator circuit 56 is coupled to isolation circuit 68 through a conductive line 83 b and an output of isolation circuit 68 is coupled to an input of a filter 54 through a conductive line 81 b and an output of filter 54 is coupled to an input of AC line coupling circuit 50 through a conductive line 80 b. Filters 52 and 54 are analog band-pass filters in this embodiment, but they could be other types of filters in other examples.

Lines 32 a and 32 b are also coupled to separate inputs of a zero crossing detect circuit 64. An output of circuit 64 is coupled to another input of processor 66 through a conductive line 87 g. Conductive lines 32 a and 32 b are further coupled to separate inputs of a power transformer 72. Separate outputs of transformer 72 are coupled to conductive lines 87 a and 87 b. Conductive lines 87 a and 87 b are connected to processor 66 and isolation circuit 68 to provide power thereto in the form of signals S_(Power1) and S_(Power2), respectively. An enable terminal of processor 66 is connected to a conductive line 89 which extends between it and isolation circuit 68. Conductive line 89 flows a signal S_(Enable1) between isolation circuit 68 and processor 66.

Signal processor 66 receives signals S_(In) and S_(Out), which can be in signal S_(Control) from terminal device 18, through separate terminals connected to conductive lines 31 a and 31 b, respectively. In some embodiments, signals S_(In) and S_(Out) can be transmitted and received through a wireless link, as indicated by substitution arrow 91. Here, conductive lines 31 a and 31 b are connected between separate terminals of processor 66 and a wireless module 68. A conductive line 88 is connected between module 68 and an antenna 70 so that signals can be transmitted therefrom wirelessly between processor 66 and terminal device 18. Wireless module 68 can be of many different types. In this example, it is a 2.4 GHz transceiver, but there are other wireless modules in the art that can be used. It should be noted that wireless module 68 can be positioned inside or outside of outlet housing 29 of FIG. 5A. The operation of controller 12 will be discussed in more detail below.

FIG. 7 is a simplified block diagram of secondary controller 17 included in the power monitoring and control systems of FIGS. 4A and 4B. It should be noted that the secondary controllers shown in FIGS. 1-2 and 3A-3B can be the same or similar to the controller shown in FIG. 7. In this embodiment, controller 17 is similar to primary controller 12 discussed above. However, controller 17 also includes a voltage transformer 76 and a current transformer 74, with each having separate inputs coupled to lines 32 a and 32 b through lines 32 c and 32 d, respectively. Separate outputs of transformer 74 are coupled to separate inputs of a filter 93 through conductive lines 87 c and 87 d. Separate outputs of transformer 76 are coupled to separate inputs of a filter 94 through conductive lines 87 e and 87 f. Outputs of filter 93 and 94 are coupled to separate inputs of processor 66. Filters 93 and 94 are analog low pass filters, but they can be other types of filters in other examples.

In this embodiment, switch 27 has an input coupled to line 32 b and an output coupled to line 33 a. Switch 27 also has separate terminals coupled to processor 66 through conductive lines 33 b and 33 c. Conductive lines 33 b and 33 c flow signals S_(Direction) and S_(Enable2), respectively, between processor 66 and switch 27. Signal processor 66 receives signals S_(In) and S_(Out) through separate terminals connected to conductive lines 90 a and 90 b, respectively. In some embodiments, signals S_(In) and S_(Out) can be transmitted and received through a wireless link, as indicated by substitution arrow 91, which is similar to that discussed above in conjunction with FIG. 6. Wireless module 68 of controller 17 can be used to receive a wireless signal from a sensor, which can be of many different types. For example, it can be a motion, temperature, pressure, and/or humidity sensor, among others. The sensor can be integrated with controller 17 and/or outlet 25 or it can be positioned outside of them. The operation of controller 17 is similar to that of controller 12 of FIG. 6, both of which will be discussed in more detail below. However, in this embodiment, controller 17 can determine the parameters of operation of electrical device 16.

FIG. 8 is a simplified block diagram of one embodiment of signal processor 66 included in primary and secondary controllers 12 and 17 of FIGS. 6 and 7, respectively. In this embodiment, signal processor 66 includes a Texas Instruments MSP430FE42x Mixed Signal Microcontroller. It should be noted that the TI MSP430FE42x Mixed Signal Microcontroller can be replaced with a similar circuit made by TI or another supplier. Hence, the use of the TI MSP430FE42x chip in this embodiment is for illustrative purposes only.

For controller 12, pin 45 is connected to conductive line 87 g and pins 48 and 53 are connected to conductive lines 85 a and 85 b, respectively. Further, pins 59 and 60 are connected to conductive lines 31 a and 31 b, respectively. Controller 17 is connected similarly, only pins 59 and 60 are connected to conductive lines 90 a and 90 b, respectively. Further, pins 2 and 3 are connected to conductive lines 87 c and 87 d, respectively, and pins 6 and 7 are connected to conductive lines 87 e and 87 f, respectively. Further, pins 46 and 47 are connected to conductive lines 33 c and 33 b, respectively.

FIG. 9 is a simplified block diagram of one embodiment of isolation circuit 68 included in primary and secondary controllers 12 and 17 of FIGS. 6 and 7, respectively. In this embodiment, isolation circuit 68 includes an Agilent HCPL-800J PLC Powerline DAA Integrated Circuit (IC). It should be noted that the Agilent HCPL-800J PLC Powerline DAA IC can be replaced with a similar circuit which provides isolation between transmission and amplifier lines as desired in most powerline modem applications. Hence, the use of the HCPL-800J chip in this embodiment is for illustrative purposes only.

Isolation circuit 68 provides optical coupling between conductive lines 81 a and 81 b and conductive lines 83 a and 83 b. This is desired because optical coupling technology provides very high isolation mode rejection, facilitating excellent electromagnetic interference (EMI) and electromagnetic compatibility (EMC) performance. Application robustness is enhanced by the inherent properties of opto-isolation devices to effectively block the transfer of damaging surge transients from signal S_(Power). Excellent transmitter performance is achieved with the use of a high efficiency, low distortion line driver stage. Transmitter robustness is further enhanced with integrated load detection and over-temperature protection functions.

In this particular example, isolation circuit 68 includes 16 pins. Pin 1 is connected to line 89 and pin 2 is connected to lines 83 b so that it is coupled to the output of attenuator circuit 56. Pin 6 is connected to line 83 a so that it is coupled to the input of amplifier circuit 58 and pin 15 is connected to line 81 b so that it is coupled to the input of filter 54. Pin 10 is connected to line 81 a so that it is coupled to the input of filter 52 and pin 7 is connected to a voltage power source, which can be through lines 87 a and/or 87 b so that it is coupled to power transformer 72. Pin 8 is coupled to a reference potential V_(Ref1) so that the potential difference between pins 7 and 8 provide power to circuit 68. Further, pin 9 is coupled to a reference resistor R_(Ref) to set a line driving biasing current. Resistor R_(Ref) typically has a value of 24 kΩ, although it can have other values. Pin 11 is coupled to a reference capacitor C_(Ref) to provide a desired stability to circuit 68. Pin 14 is coupled to a voltage power source V_(cc2), which can be lines 87 a and/or 87 b so that it is coupled to power transformer 72. Pin 16 is coupled to a reference potential V_(Ref2) so that the potential difference between pins 14 and 16 provide power to circuit 68. It should be noted that reference potentials V_(Ref1) and/or V_(Ref2) can be analog and/or digital current returns. More information about the MSP430FE42x and HCPL-800J chips can be found in their corresponding product data sheets which are incorporated herein by reference.

In operation, power transformer 72 in controllers 12 and 17 receives signal S_(Power) on lines 32 a and 32 b, onto which signals S₁ or S₁₀ are superimposed. In response, transformer 72 outputs signals S_(Power1) and S_(Power2) on lines 87 a and 87 b, respectively. Since signal S_(Power) is a high voltage, transformer 72 transforms this high voltage into a lower voltage which can be used to provide power to signal processor 66, isolation circuit 68, and or switch 27. In one example, signal S_(Power) has a peak-to-peak (ptp) amplitude of 120 V and oscillates at 60 Hertz and signals S₁ and S₁₀ have amplitudes and 4 V and oscillate at 120 kiloHertz (kHz). Transformer 72 transforms this 120 V power signal into S_(Power1) and S_(Power2) so that they have amplitudes between about 2 V and 5 V, although they can have amplitudes outside of this range. The particular signal amplitude will depend on the power needed for signal processor 66, isolation circuit 68, and or switch 27. For example, if switch 27 is a bi-stable magnetic relay, then it is typically powered by about 24 V.

In controller 17, current transformer 74 receives signal S_(Power) on lines 32 a and 32 b and outputs signal S_(I1) between lines 87 c and 87 d. Signal S_(I1) corresponds to the current of signal S_(Power) which corresponds to the current of electrical device 16. Signal S_(I1) is filtered by filter 93 and provided to processor 66 as filtered signal S_(I2). Similarly, voltage transformer 76 receives signals S_(Power) on lines 32 a and 32 b and outputs signal S_(V1) between lines 87 e and 87 f. Signal S_(V1) corresponds to the voltage of signal of S_(Power) which corresponds to the voltage of electrical device 16. Signal S_(V1) is filtered by filter 94 and provided to processor 66 as filtered signal S_(V2).

The operation of systems 40 and 41 using controllers 12 and 17 or FIGS. 6 and 7, respectively, will now be discussed in more detail. In FIG. 6, processor 66 receives signal S_(In) on line 31 a from terminal device 18. This can be done by having line 31 connected to device 18 or by using wireless module 68. In response, processor 66 codes and sends it as signal S₆ to square-to-sine wave circuit 60 on line 85 b so that S₆ is a coded version of S_(In). It will be discussed in more detail in conjunction with FIGS. 10A-10K how processor 66 codes and decodes some of the signals, such as S_(In), S_(Out), S_(I2) and S_(V2), it sends and receives. Circuit 60 converts the square wave signal S₆ to a sine wave signal and provides it to line 84 b as signal S₇.

Signal S₇ is attenuated by attenuator circuit 56 and provided to line 83 b as signal S₈. Signal S₈ is provided to line 81 b as signal S₉ by isolation circuit 68 when it is enabled. Isolation circuit 68 is enabled at the appropriate time in response to S_(Zero) and S_(Enable1). The appropriate time is when S_(Power) is near its zero value. In one example, signal S_(Power) is near its zero value when it is within plus or minus a time T_(Zero) from its zero value. However, other times can be used in other examples. Signal S₉ is filtered by filter 54 and provided to line 80 b as signal S₂₂. Signal S₂₂ is coupled to lines 32 a and 32 b by line coupling circuit 50 as signal S₁₀ so that the signal between lines 32 a and 32 b includes signals S_(Power) and S₁₀. Signal S₁₀ then flows to secondary controller 17, as shown in FIG. 7.

In FIG. 7, signals S_(Power) and S₁₀ are received by controller 17. Line coupling circuit 50 separates signal S₁₀ from S_(Power) and provides it to line 80 a as signal S₂₁. Filter 52 filters signal S₂₁ and provides it to line 81 a as signal S₁₁ In response to S_(Zero), processor 66 enables isolation circuit 68 through signal S_(Enable1) in a manner similar to that discussed above. In response to S_(Enable1), isolation circuit 68 allows signal S₁₁ to pass from line 81 a to line 83 a as signal S₁₂. Signal S₁₂ is amplified by amplifier circuit 58 and provided to line 84 a as signal S₁₃. In this example, signal S₁₃ is a sine wave that is converted to a square wave by sine-to-square-wave circuit 62 and provided as signal S₁₄ to line 85 a. Signal S₁₄ is received by processor 66 where it is processed. This involves having processor 66 determine the control and/or monitoring information in signal S₁₄, which corresponds to the control and/or monitoring information in signal S_(In) on line 31 a of FIG. 6.

In response to the control and/or monitoring information in signal S₁₄, processor 66 can perform several different tasks. In one example, processor 66 determines the operational parameters of electronic device 16. It does this by receiving signals S_(I2) and S_(V2) from filters 93 and 94, respectively. Signals S_(I2) and S_(V2) include information about the voltage and current of electronic device 16. Processor 66 can use signals S_(I2) and S_(V2) to determine other operational parameters of device 16, such as its power consumption, power consumption as a function of time, power factor, frequency, etc. The control signal can include information so that processor 66 sends S_(Direction) and S_(Enable2) to switch 27 to open or close it as desired.

The desired operational parameters of device 16 are coded by processor 66 in a manner that will be described in more detail below in conjunction with FIGS. 10A-10O and this coded signal is provided to line 85 b as signal S₁₅. Circuit 60 converts the square wave signal S₁₅ to a sine wave signal and provides it to line 84 b as signal S₁₆. Signal S₁₆ is attenuated by attenuator circuit 56 and provided to line 83 b as signal S₁₇. Signal S₁₇ is provided to line 81 b as signal S₁₈ by isolation circuit 68 when it is enabled in a manner similar to that discussed above. Signal S₁₈ is filtered by filter 54 and provided to line 80 b as signal S₁₉. Signal S₁₉ is coupled to lines 32 a and 32 b by line coupling circuit 50 as signal S₁ so that the signal between lines 32 a and 32 b includes signals S_(Power) and S₁. Signal S₁ then flows to primary controller 12, as shown in FIG. 6.

In FIG. 6, signals S_(Power) and S₁ are received by controller 12. Line coupling circuit 50 separates signal S₁ from S_(Power) and provides it to line 80 a. Filter 52 filters signal S₁ and provides it to line 81 a as signal S₂. In response to S_(Zero), processor 66 enables isolation circuit 68 through signal S_(Enable1) in a manner similar to that discussed above. In response to S_(Enable1), isolation circuit 68 allows signal S₂ to pass from line 81 a to line 83 a as signal S₃. Signal S₃ is amplified by amplifier circuit 58 and provided to line 84 a as signal S₄. Signal S₄ is a sine wave that is converted to a square wave by sine-to-square-wave circuit 62 and provided as signal S₅ to line 85 a. Signal S₅ is received by processor 66 where it is decoded in a manner described in more detail below. The decoded signal is then sent to terminal device 18 as signal S_(Out) on line 31 b. Signal S_(Out) can flow to terminal device 18 on line 31 b or it can be sent using wireless module 68. After this, the process can repeat itself if desired.

In this embodiment, signals S₅, S₆, S₁₄, and S₁₅ are square wave signals and the others are sinusoidal. Signals S₅, S₆, S₁₄, and S₁₅ are square wave signals because they are processed by digital circuitry and the other signals are sinusoidal because it is generally more efficient to flow sinusoidal signals through conductive lines. It should be noted, however, that these signals can have other shapes, such as triangular. For the triangular wave example, circuit 60 is replaced with a square-to-triangle wave circuit and circuit 62 is replaced with a triangle-to-square wave circuit.

FIGS. 10A-10O are simplified graphs of signals in controller 12 and/or 14 as a function of time in accordance with the present invention. FIGS. 10A-10O are shown to better illustrate the operation of controllers 12 and 17 of FIGS. 6 and 7, respectively, and to show how processor 66 codes and decodes the various signals it sends and receives. FIG. 10A shows signal S_(Power) which is sinusoidal and oscillates at a particular frequency. In this example, S_(Power) is a 120 V ptp AC signal that oscillates at 60 Hz so that its period T is about 16.6 milliseconds (ms) and half of its period (T/2) is about 8.3 ms. FIG. 10B shows signal S_(Zero) which is a square wave with each pulse having a width of T_(Zero). Signal S_(Zero) is provided in response to an indication that signal S_(Power) is zero or near zero. In this example, signal S_(Power) is near zero when its amplitude is within plus or minus T_(Zero) of its inflection point 99 (See FIG. 10A). However, in other examples, S_(Power) can be defined as being near zero when it is within another predetermined time of inflection point 99.

FIG. 10C shows one example of signal S₁. Signal S₁ can have many different shapes depending on the information it is carrying. In general, signal S₁ is a train of oscillating signals which are separated from each other by one-half the period (T) of signal S_(Power), denoted as T/2 (See FIG. 10A). In general, signal S₁ is sinusoidal with a frequency f_(Carrier) for a portion of time within time T_(Zero) and zero or constant for another portion of time T_(Zero). In this example, signal S₁ is zero outside of T_(Zero1) although in some examples, it can have a constant non-zero value. It should be noted that signal S₁ is shown here as being sinusoidal, but it can have other shapes which oscillate a predetermined number of times within time T_(Zero).

FIGS. 10D-10G show examples of signal S₁ with different shapes. In FIG. 10D, signal S₁ is sinusoidal, but has an offset voltage V_(Offset) and in FIG. 10E, signal S₁ is triangular in shape. In FIG. 10F, signal S₁ has a square shape and in FIG. 10G, signal S₁ includes pulses. It should be noted that signal S₁ can have other shapes, but only a few are shown here for simplicity.

In FIG. 10C, frequency f_(Carrier) is 120 kHz and T_(Zero) is 1.2 ms so that there are about 144 oscillations of S₁ within T_(Zero) ( 1/120 kHz=8.3 microseconds (μs), 1.2 ms/8.3 μs=144) if S₁ oscillates throughout time T_(Zero). It should be noted, however, that the carrier frequency and T_(Zero) can have other values. For example, if the carrier frequency is 150 kHz and T_(Zero) is 1.3 ms, then there are about 194 oscillations of S₁ within T_(Zero) ( 1/150 kHz=6.7 (μs), 1.3 ms/6.7 μs=194).

As will be discussed in more detail presently, the portions of S₁ that are sinusoidal, zero, or constant depends on the information coded in S₁. For example, if it is desired to code the numbers zero (0) to nine (9) along with the alphabet, then 36 different codes are needed to distinguish between these symbols. This is because at least 10 different codes are needed to distinguish between the numbers zero through nine and at least 26 different codes are needed to distinguish between the letters A to Z. It should be noted, however, that the number of codes will depend on many other factors, such as the language used (English, French, Spanish, etc.), the number of symbols used (zero to nine, A to Z, and +, −, =, or any of the other ASCI characters). The number of codes can even depend on the number base used to represent the numbers. For example, the numbers can be one or zero for binary (base 2), zero to seven for octal (base 8), zero to nine for decimal (base 10), and zero to F for hexadecimal (base 16), among others. The number of codes can also depend on the acceptable error in coded and decoding the symbols as will be discussed in more detail below.

In this particular example, the codes are distinguished from one another by the number of cycles that occur in time T_(Zero), wherein a cycle corresponds to the period of the signal. This is shown in Table 1 which lists the number of cycles and the corresponding assigned symbol. For example, signal 130 in FIG. 10C is sinusoidal with 10 cycles in time T_(Zero) in a region 133 and zero cycles in a region 134. From Table 1, signal 130 is assigned a symbol of ‘2’ (two) since a number of cycles between 8 and 11 is coded as ‘2’. Similarly, signal 131 in FIG. 10C is sinusoidal with 6 cycles in time T_(Zero) in a region 135 and zero cycles in a region 136. From Table 1, signal 131 is assigned a symbol of ‘1’ (one) since a number of cycles between 4 and 7 is coded as ‘1’. Likewise, signal 132 in FIG. 10C is sinusoidal with 20 cycles in time T_(Zero) in a region 137 and zero cycles in a region 138. From Table 1, signal 132 is assigned a symbol of ‘5’ (five) since a number of cycles between 19 and 21 is coded as ‘5’. If the signal has no cycles or is constant, zero or otherwise, during time T_(Zero), then the signal is assigned a symbol of ‘0’ (zero). If the signal is sinusoidal throughout time T_(Zero) so that it has 144 cycles, then it is coded as a symbol ‘Z’. It should be noted that the values and symbols in Table 1 can be programmed into a memory chip (not shown). The memory chip can be non-volatile or random access memory in some examples. The values and symbols in Table 1 can even be determined from a look-up table.

In this example, each symbol is assigned four cycles. For example, the symbol 0 (zero) is assigned zero, one, two, and three cycles and the symbol 1 (one) is assigned TABLE 1 Number of Percentage Value of cycles (%) Data T₀ 0 to 3 0.0 to 2.1 0 T₁ 4 to 7 2.8 to 4.9 1 T₂  8 to 11 5.6 to 7.6 2 T₃ 12 to 15 8.3 to 10  3 . . . . . . T₈ 32 to 35 22 to 24 8 T₉ 36 to 39 25 to 27 9 T_(A) 40 to 43 28 to 30 A T_(B) 44 to 47 31 to 33 B . . . . . . T_(Z) 140 to 143  97 to 100 Z four, five, six, and seven cycles. The number of cycles assigned to a particular symbol depends on the acceptable error in coded and decoding the information. The more cycles that are assigned to a particular symbol, the less the error is in encoding and decoding it. Further, the less cycles that are assigned to a particular symbol, the more the error is in encoding and decoding it.

For example, in one scheme, the number zero is assigned to a number of cycles between 0 and 72 and the number one is assigned to a number of cycles between 73 and 144 so that the information corresponds to binary data (base 2). The accuracy of this binary coded scheme is more accurate than the scheme of Table 1. This is because it is generally more difficult and less accurate to determine if the number of cycles is between zero and three (‘0’) or four and seven (‘1’), for example, then it is to determine if the number of cycles is between 0 and 72 (‘0’) or 73 and 144 (‘1’). However, an advantage of having a fewer number of cycles assigned to a particular symbol is that more different symbols can be represented, so that the data compression is increased. Further, many more different symbols can be coded in time T_(Zero). For example, in the binary scheme, only two symbols can be coded in time T_(Zero) (a ‘0’ or a ‘1’), but in the scheme of Table 1, 36 different symbol can be coded in time T_(Zero) (0 to 10 and A to Z). Hence, the transmission of information is faster.

It should be noted that there are several other ways to determine the symbol of the signal in time T_(Zero). In the example above, the number of cycles of the sinusoid in time T_(Zero) is determined. In another way, the percentage that the signal is sinusoidal in time T_(Zero) can be determined. For example, signal 130 is sinusoidal for a time T₂ in time T_(Zero). Since time T₂ is 10 cycles out of 144 total cycles, time T₂ is about 6.9% of time T_(Zero). According to Table 1, signal 130 represents a ‘2’ (two) since a signal that is sinusoidal between about 5.6 to 7.6 percent of T_(Zero) is assigned the symbol ‘2’. Similarly, signal 131 is sinusoidal for a time T₁ in time T_(Zero). Since time T₁ is 6 cycles out of 144 total cycles, time T₂ is about 4.2% of time T_(Zero). According to Table 1, signal 130 represents a ‘1’ (one) since a signal that is sinusoidal between about 2.8% to 4.9% of T_(Zero) is assigned the symbol ‘1’. Further, signal 132 is sinusoidal for a time T₅ in time T_(Zero). Since time T₅ is 20 cycles out of 144 total cycles, time T₅ is about 13.9% of time T_(Zero). According to Table 1, signal 132 represents a ‘5’ (five) since a signal that is sinusoidal between about 13.9% to 16% of T_(Zero) is assigned the symbol ‘5’. In another way, the number of half cycles of the sinusoid or the number of peaks and/or valleys in the oscillating signal can be determined. In other examples, the amount of time that the signal is zero within time T_(Zero) is determined (i.e. T_(Zero)−T₂) and compared to T_(Zero) ([T_(Zero)−T₂]/T_(Zero)). This percentage is then used to determine the code in a manner similar to that described above.

FIG. 10G shows another way that the symbols can be coded. Here, time T₂ is determined by the occurrence of pulses 140 and 141. This can be done by using a timer or counter circuit. Once time T₂ is determined, it can be compared to time T_(Zero) to determine the percentage of T₂ to T_(Zero). As discussed above, time T₂ is 10 cycles out of 144 total cycles, so time T₂ is about 6.9% of time T_(Zero) and signal 130 represents a ‘2’ (two) according to Table 1.

FIG. 10H shows signal S₂₀ as being a sinusoidal signal with an amplitude of V₂₀. FIG. 10I shows signal S₃ as being a sinusoidal signal with an amplitude of V₃. FIG. 10J shows signal S₄ which is signal S₃ after it has been amplified by amplifier circuit 58. Signal S₄ has an amplitude of V₄ which is greater than V₃. FIG. 10K shows signal S₅ which is signal S₄ after it has been converted to a square wave by sine-to-square wave circuit 62. Signal S₅ has an amplitude of V₅. FIG. 10L shows signal S₆ which is a square wave. Signal S₆ has an amplitude of V₆. FIG. 10M shows signal S₇ which is signal S₆ after it has been converted to a sine wave by square-to-sine wave circuit 60. FIG. 10N shows signal S₈ which corresponds to signal S₇ after it has been attenuated by attenuator circuit 56. Signal S₇ has an amplitude of V₇ and signal S₈ has an amplitude of V₈ where V₇ is greater than V₈. FIG. 100 shows signal S₉ which is signal S₈ after it has been passed between lines 83 b and 81 b by isolation circuit 68. Signal S₁₀ is a filtered version of signal S₉. Signal S₉ is filtered to provide S₁₀ to remove unwanted modes that may be present in signal S₉.

It should be noted that the signals of FIG. 6 described above in conjunction with FIGS. 10A-10O are the same or similar to the signals of FIG. 7, but they are not shown for simplicity. Further, it should be noted that the various signals included in FIGS. 6 and 7 can have different amplitudes and frequencies. In one particular example, S_(Power) has a ptp amplitude of about 120 V and oscillates at 60 Hz. The other signals oscillate at the carrier frequency, which in these examples is f_(Carrier)=120 kHz. In this example, signals S₁ and S₁₀ each have ptp amplitudes of about 4 V and signals V₂₀ and V₂₁ each have ptp amplitudes of about 5 mV (V₂₀=2.5 mV). Signals S₃ and S₁₂ have ptp amplitudes of about 100 mV (V₃=100 mV), although they typically have amplitudes in a range between 100 mV to 500 mV. Further, signals S₄ and S₁₃ each have ptp amplitudes of about 5 V (V₄=2.5 V) and signals S₅, S₆, and S₁₄, and S₁₅ each have amplitudes of 5 V (V₅=5 V, V₆=5 V). Signals S₇ and S₁₆ each have ptp amplitudes of 5 V (V₇=2.5 V) and signals S₈ and S₁₇ each have amplitudes of 200 mV (V₈=100 mV). Signals S₉, S₁₀, S₁₈, and S₁₉ each have ptp amplitudes of 4 V (V₉=2 V). It should be noted, however, that the amplitude and frequency values listed here are for illustrative purposes and they could have other values.

FIG. 11 is a simplified block diagram of a method 150 of controlling and monitoring an electrical device using a power monitoring and control apparatus in accordance with the present invention. It should be noted that the steps in method 150 can be performed in other ways, but only one way is shown here for illustrative purposes. Method 150 starts at a step 150 and then initializes the primary and secondary controllers at a step 154. In a step 156, it is determined whether a first message has been received from a terminal device by the primary controller from the terminal device. If the first message has been received, then the first message is processed and sent by the primary controller to the secondary controller in a step 158. In a step 160, it is determined whether the first message from the primary controller has been received by the secondary controller. If it has, then control is sent back to step 156. If it has not, then control is sent back to step 158.

If the first message from the terminal device has not been received by the primary controller in step 156, then it is determined if a second message has been received by the primary controller from the secondary controller in a step 162. If it has been received, then the second message is processed and sent to the terminal device in a step 164. In a step 166, it is determined whether the second message from the secondary controller has been received by the primary controller and sent to the terminal device. If it has, then control is sent back to step 156. If it has not, then control is sent back to step 164.

FIGS. 12A-12F are simplified block diagrams of methods of coding symbols and decoding waveforms in accordance with the present invention. In FIG. 12A, a method 170 of decoding waveforms includes a step 171 of receiving a waveform. A property of the waveform is determined in a step 172 and the waveform is assigned a symbol in response to the property in a step 173. The property of the waveform can be, for example, its period, frequency, etc. The property can also be the ratio of the time that the waveform oscillates to a predetermined time, such as T_(Zero). The symbol assigned to the waveform can be an ASCI character, such as a letter or number, or another symbol which is desired to decode.

In one example, the property of the waveform has a one-to-one correspondence to the symbol it represents. For example, a waveform with zero oscillations within the predetermined time is assigned the symbol ‘0’ (zero) and a waveform with one oscillation within the predetermined time is assigned the symbol ‘1’ (one). In another example, waveforms with between zero and three oscillations within the predetermined time are assigned the symbol ‘0’ (zero) and waveforms with between four and seven oscillations within the predetermined time are assigned the symbol ‘1’ (one).

In FIG. 12B, a method 175 of decoding waveforms includes a step 176 of receiving a time varying waveform. The time varying waveform can be sinusoidal, square, triangular, etc. In a step 177, the number of cycles within a predetermined time in the time varying waveform is determined. In a step 178, a symbol is assigned to the time varying waveform in response to the number of cycles within the predetermined time. In some examples, the number of cycles can be full cycles based on the period of the time varying waveform and in other examples, the number of cycles can be based on half or quarter periods of the time varying waveform.

In FIG. 12C, a method 180 of decoding waveforms includes a step 181 of receiving a waveform. In a step 182, the time between pulses in the waveform is determined. In a step 183, a symbol is assigned to the waveform in response to the time between the pulses. In some examples, the time between pulses is compared to a predetermined time, such as time T_(Zero).

In FIG. 12D, a method 185 of encoding symbols includes a step 186 of receiving a symbol. A property for the symbol is determined in a step 187 and the symbol is assigned a waveform in response to the property in a step 188. The property for the symbol can be, for example, the period, frequency, etc. of the waveform. The property can also be the ratio of the time that the waveform oscillates to a predetermined time, such as T_(Zero). The symbol can be an ASCI character, such as a letter or number, or another symbol which is desired to encode.

In FIG. 12E, a method 190 of encoding a symbol includes a step 191 of receiving a symbol. In a step 192, the number of cycles of a waveform for the symbol is determined. The number of cycles corresponds to that in the waveform within a predetermined time. In a step 193, the waveform corresponding to the symbol is outputted. In some examples, the number of cycles can be full cycles based on the period of the waveform and in other examples, the number of cycles can be based on half or quarter periods of the waveform.

In FIG. 12F, a method 195 of encoding a symbol includes a step 196 of receiving a symbol. In a step 197, a time which corresponds to the symbol is determined. The time corresponds to the time between pulses in a waveform. In a step 198, the time between pulses is assigned to the symbol. The waveform can then be outputted with pulses spaced apart by the time determined in step 197.

The present invention is described above with reference to a preferred embodiment. However, those skilled in the art will recognize that changes and modifications can be made in the described embodiment without departing from the nature and scope of the present invention. Various changes and modifications to the embodiment herein chosen for purposes of illustration will readily occur to those skilled in the art. To the extent that such modifications and variations do not depart from the spirit of the invention, they are intended to be included within the scope thereof.

Having fully described the invention in such clear and concise terms as to enable those skilled in the art to understand and practice the same, the invention claimed is: 

1. A system, comprising: a first controller; a second controller; and the first controller providing a first signal to the second controller and the second controller providing a second signal to the first controller in response, the second signal including information about an electrical load.
 2. The system of claim 1, wherein at least one of the first and second controllers is integrated with an electrical outlet.
 3. The system of claim 1, further including a terminal device in communication with the first controller.
 4. The system of claim 1, further including a communication channel coupled between the first and second controllers.
 5. The system of claim 4, wherein the communication channel flows a power signal therethrough, the first and second controllers separating the second and first signals, respectively, from the power signal.
 6. The system of claim 1, wherein at least one of the first and second controllers flows the first and second signals, respectively, through a corresponding electrical outlet.
 7. A system, comprising: first and second controllers coupled to first and second electrical outlets, respectively; a terminal device which flows a control signal to the first controller through the first electrical outlet; a communication channel coupled between the first and second controllers; an electrical load coupled to the second electrical outlet; and the first controller providing a first signal to the second controller and the second controller providing a second signal to the first controller in response, the second signal including information about the operation of the electrical device.
 8. The system of claim 7, wherein the first and second controllers are in different rooms.
 9. The system of claim 7, wherein the terminal device receives information about the operation of the electrical device in response to the control signal.
 10. The system of claim 7, wherein the second controller includes a switch for controlling the operation of the electrical device.
 11. The system of claim 7, further including a wireless module included in at least one of the first and second controllers.
 12. The system of claim 7, wherein the terminal device communicates with the first controller through a data cable coupled to the first electrical outlet.
 13. The system of claim 7, wherein the first and second controllers are positioned in corresponding outlet housings included in the first and second electrical outlets.
 14. A method, comprising: receiving a time varying waveform; determining a predetermined property of the time varying waveform during a predetermined time period; and assigning a symbol from a set of data symbols to the time varying waveform.
 15. The method of claim 14, wherein the time varying waveform is periodic or constant for at least a portion of the predetermined time period.
 16. The method of claim 15, further including determining the amount of time the time varying waveform is periodic or constant during the predetermined time period.
 17. The method of claim 14, wherein the property of the time varying waveform is at least one of its number of cycles, the number of half cycles, the number of pulses, the amount of time the time varying waveform oscillates, and the amount of time the time varying waveform is constant during the predetermined time period.
 18. The method of claim 14, wherein the predetermined property is assigned the symbol from the set of data symbols in a one to one relation.
 19. The method of claim 14, wherein the number of symbols in the set of symbol is chosen to provide a desired error rate.
 20. The method of claim 14, wherein the number of symbols in the set of symbol is chosen to provide a desired compression. 